<template>
  <div id="app">
    <el-container>


      <el-main class="app-main">
        <router-view />
      </el-main>

      <el-footer class="app-footer">
        <p>&copy; 2024 狗狗品种管理系统. All rights reserved.</p>
      </el-footer>
    </el-container>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#app {
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  height: 100vh;
}



.app-main {
  padding: 0;
  background-color: #f8fafc;
  min-height: calc(100vh - 60px);
}

.app-footer {
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  color: white;
  text-align: center;
  height: 60px !important;
  line-height: 60px;
}

.app-footer p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
}

/* Element UI 样式覆盖 */
.el-container {
  height: 100vh;
}

.el-main {
  padding: 0;
}

.el-footer {
  padding: 0;
}
</style>
